package com.vbobot.demo.spring.nacos.client;

import javax.annotation.PostConstruct;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author Bobo
 * @date 2022/9/19
 */
@EnableFeignClients
@SpringBootApplication
@Slf4j
public class SpringNacosServerApplication {

    public static void main(String[] args) {
        new SpringApplicationBuilder(SpringNacosServerApplication.class)
                .web(WebApplicationType.SERVLET)
                .run(args);
    }
}
